package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物品管理对象 stock_goods
 * 
 * @author ruoyi
 * @date 2024-05-08
 */
public class StockGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物品id */
    private Long goodsId;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String goodsName;

    /** 物品数量 */
    @Excel(name = "物品数量")
    private Long goodsNum;

    /** 所属仓库 */
    @Excel(name = "所属仓库")
    private String goodsStock;

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsNum(Long goodsNum) 
    {
        this.goodsNum = goodsNum;
    }

    public Long getGoodsNum() 
    {
        return goodsNum;
    }
    public void setGoodsStock(String goodsStock) 
    {
        this.goodsStock = goodsStock;
    }

    public String getGoodsStock() 
    {
        return goodsStock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("goodsNum", getGoodsNum())
            .append("goodsStock", getGoodsStock())
            .toString();
    }
}
